<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>03-data数据对象</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
</head>
<body>
<div id="app">
    {{message}}
    <h2>学院：{{school.name}}</h2>
    <h2>地址：{{school.address}}</h2>
    <h2>校区：{{campus[0]}}</h2>
</div>
<script>
    var app = new Vue({
        el:"#app",
        data:{
            message:"你好，anonyeast",
            school:{
                name:"计科学院",
                address:"四川内江"
            },
            campus:["桐梓坝校区","高桥校区"]
        }
    });
</script>
</body>
</html>